<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html>
<html lang="en">
<head>
<base href="<%=basePath%>/background/">
<title>开溜儿网后台管理系统</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="css/uniform.css" />
<link rel="stylesheet" href="css/select2.css" />
<link rel="stylesheet" href="css/unicorn.main.css" />
<link rel="stylesheet" href="css/unicorn.grey.css" class="skin-color" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>


	<div id="header">
		<h1>
			<a href="./index.jsp">开溜儿网后台管理系统</a>
		</h1>
	</div>
	<div id="user-nav" class="navbar navbar-inverse">
		<ul class="nav btn-group">
                <li class="btn btn-inverse"><a title="" href="<%=path%>/admin/myManage.do"><i class="icon icon-user"></i> <span class="text">个人中心</span></a></li>
                </li>
                <li class="btn btn-inverse"><a title="" href="<%=path%>/admin/logout.do"><i class="icon icon-share-alt"></i> <span class="text">注销</span></a></li>
            </ul>
	</div>

	<div id="sidebar">
		<ul>
				<li class="submenu">
					<a href="#"><i class="icon icon-th-list"></i> <span>用户管理</span> <span class="label">2</span></a>
					<ul>
						<li><a href="addUser.jsp">增加用户</a></li>
						<li><a href="<%=path%>/user/1.do">查询用户</a></li>
					</ul>
				</li>
				<li class="submenu">
					<a href="#"><i class="icon icon-th-list"></i> <span>地区管理</span> <span class="label">4</span></a>
					<ul>
						<li><a href="addForeignProvince.jsp">增加国家与省份</a></li>
						<li><a href="<%=path%>/area/findPF.do">查询国家与省份</a></li>
						<li><a href="<%=path%>/area/1.do">查询城市</a></li>
						<li><a href="addCity.jsp">增加城市</a></li>
					</ul>
				</li>
				<li class="submenu">
					<a href="#"><i class="icon icon-th-list"></i> <span>攻略管理</span> <span class="label">2</span></a>
					<ul>
						<li><a href="addGonglue.jsp">增加攻略</a></li>
						<li><a href="<%=path%>/gonglue/1.do">查询攻略</a></li>
					</ul>
				</li>
				<li><a href="<%=path%>/qaManage/1.do"><i class="icon icon-home"></i> <span>问答管理</span></a></li>
				<li><a href="<%=path%>/remarkManage/1.do"><i class="icon icon-home"></i> <span>点评管理</span></a></li>
				<li><a href="<%=path%>/travalNoteManage/1.do"><i class="icon icon-home"></i> <span>游记管理</span></a></li>
				<li><a href="<%=path%>/admin/myManage.do"><i class="icon icon-home"></i> <span>个人管理</span></a></li>
				<li><a href="mapManage.jsp"><i class="icon icon-home"></i> <span>地图管理</span></a></li>
			</ul>
	</div>

	<div id="style-switcher">
		<i class="icon-arrow-left icon-white"></i> <span>Style:</span> <a
			href="#grey" style="background-color: #555555;border-color: #aaaaaa;"></a>
		<a href="#blue" style="background-color: #2D2F57;"></a> <a href="#red"
			style="background-color: #673232;"></a>
	</div>

	<div id="content">
		<div id="content-header">
			<h1>修改城市</h1>
		</div>
		<div id="breadcrumb">
			<a href="index.jsp" title="Go to Home" class="tip-bottom"><i
				class="icon-home"></i> Home</a> <a href="#">地区管理</a> <a href="#"
				class="current">修改城市</a>
		</div>
		<div class="container-fluid">
			<div class="row-fluid">
				<div class="span12">
					<div class="widget-box">
						<div class="widget-title">
							<span class="icon"> <i class="icon-align-justify"></i> </span>
							<h5>修改用户</h5>
						</div>
						<div class="widget-content nopadding">
							<form class="form-horizontal" method="post"
								action="<%=path%>/area/modifyCity.do" name="basic_validate"
								id="basic_validate" novalidate="novalidate" />
							<c:forEach items="${city}" var="c">
							<div class="control-group">
								<input type="hidden" name="id" value="${c.id}"/>
									<label class="control-label">国家：</label>
									<div class="controls">
										<input type="hidden" name="country_id" value="${c.foreign.id}" />
										<input type="text" name="country" value="${c.foreign.country}" id="required" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">省份：</label>
									<div class="controls">
										<input type="hidden" name="province_id" value="${c.province.id}" />
										<input type="text" name="province" value="${c.province.name}" id="required" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">城市名：</label>
									<div class="controls">
										<input type="text" name="city" value="${c.name}" id="date" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">人均消费：</label>
									<div class="controls">
										<input type="text" name="perConsume" value="${c.perConsume}" id="date" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">旅游最佳月份：</label>
									<div class="controls">
										<input type="text" name="prettyMonth" value="${c.prettyMonth}" id="date" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">旅行方式：</label>
									<div class="controls">
										<input type="text" name="way" value="${c.way}" id="date" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">穿衣策略：</label>
									<div class="controls">
										<input type="text" name="dress" value="${c.dress}" id="date" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">使用语言：</label>
									<div class="controls">
										<input type="text" name="language" value="${c.language}" id="date" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">历史：</label>
									<div class="controls">
										<input type="text" name="history" value="${c.history}" id="date" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">习俗：</label>
									<div class="controls">
										<input type="text" name="custom" value="${c.custom}" id="date" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">消费水平：</label>
									<div class="controls">
										<input type="text" name="consumeLevel" value="${c.consumeLevel}" id="date" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">交通方式：</label>
									<div class="controls">
										<input type="text" name="traffic" value="${c.traffic}" id="date" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">热门景点：</label>
									<div class="controls">
										<input type="text" name="hotView" value="${c.hotView}" id="date" />
									</div>
								</div>
								<div class="control-group">
									<label class="control-label">地图：</label>
									<div class="controls">
										<input type="text" name="map" value="${c.map}" id="date" />
									</div>
								</div>

								<div class="form-actions">
									<input type="submit" value="确定" class="btn btn-primary" /><span>&nbsp&nbsp&nbsp&nbsp</span>
									<input type="reset" value="取消" class="btn btn-primary" />
								</div>
							</c:forEach>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="row-fluid">
		<div id="footer" class="span12">
			Copyright © 2014 Kailiuer. All Rights Reserved<br /> 开溜儿网. 版权所有
		</div>
	</div>

	<script src="js/jquery.min.js"></script>
	<script src="js/jquery.ui.custom.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<script src="js/jquery.uniform.js"></script>
	<script src="js/select2.min.js"></script>
	<script src="js/jquery.validate.js"></script>
	<script src="js/unicorn.js"></script>
	<script src="js/unicorn.form_validation.js"></script>
</body>
</html>
